package com.ruoyi.ex.mapper;

import java.util.List;

import com.ruoyi.ex.domain.ExStudyCount;
import org.apache.ibatis.annotations.Param;

/**
 * ex_study_countMapper接口
 *
 * @author zzx
 * @date 2023-07-14
 */
public interface ExStudyCountMapper {
    /**
     * 查询ex_study_count
     *
     * @param id ex_study_count主键
     * @return ex_study_count
     */
    public ExStudyCount selectExStudyCountById(Long id);

    /**
     * 查询ex_study_count列表
     *
     * @param exStudyCount ex_study_count
     * @return ex_study_count集合
     */
    public List<ExStudyCount> selectExStudyCountList(ExStudyCount exStudyCount);

    /**
     * 新增ex_study_count
     *
     * @param exStudyCount ex_study_count
     * @return 结果
     */
    public int insertExStudyCount(ExStudyCount exStudyCount);

    /**
     * 修改ex_study_count
     *
     * @param exStudyCount ex_study_count
     * @return 结果
     */
    public int updateExStudyCount(ExStudyCount exStudyCount);

    /**
     * 删除ex_study_count
     *
     * @param id ex_study_count主键
     * @return 结果
     */
    public int deleteExStudyCountById(Long id);

    /**
     * 批量删除ex_study_count
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExStudyCountByIds(Long[] ids);

    List<ExStudyCount> getStudyCountByStu(@Param("userId") Long userId);
}
